//
//  Button.h
//  FunnyRacing
//
//  Created by vy phan on 16/03/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"
#import "CCTouchHandler.h"
#import "CGPointExtension.h"
#import "CCDrawingPrimitives.h"

static CCSpriteSheet *spriteSheet;
@interface Button : CCSprite <CCStandardTouchDelegate>{
	int type;
	
	
	int priority;
	
	BOOL isTouchEnabled;
	BOOL isSelected;
}

-(id)initWithType:(int)type_;

@property int priority;
@property BOOL isTouchEnabled;
@property (readonly) BOOL isSelected;
@property (readwrite) int type;
@end
